﻿using System;
using StoreVnCore.Entity;
using System.Data;

namespace StoreVnCore.Interface
{
    /// <summary>
    /// Interface abstract for class IContentCategoryDAO.
    /// </summary>
    public interface IContentCategoryDAO
    {
        ContentCategoryEntity Insert(ContentCategoryEntity entity);
        ContentCategoryEntity Update(ContentCategoryEntity entity);
        void Delete(int Id);
        ContentCategoryEntity SelectOne(int Id);
        DataTable SelectAll();
        DataTable SelectByTypeOfContent(string typeOfContent);
    }
}
